package edu.hawaii.examschd.modules;

import java.util.Calendar;
import edu.hawaii.examschd.myClass;

public interface ExamScheduler {

  // Get the exam time by CRN, returns as a string
  // in the SimpleDateFormat "yyyyMMdd'T'HHmmss"
  String get_by_crn_as_str(int crn);

  // Get the exam time as a Calendar Object using CRN
  Calendar get_by_crn_as_cal(int crn);

  // Retrieve multiple exam times by CRN
  // Returned as Strings in the format "yyyyMMdd'T'HHmmss"
  String[] get_by_crn_as_strs(int[] crns);

  // Retrieve multiple exam times by crn
  // Returned as Calendar objects
  Calendar[] get_by_crn_as_cals(int[] crns);

  // Get class data by CRN
  String get_class_by_crn_as_str(int crn);

  // Get class and exam data by CRN
  myClass get_all_by_crn(int crn);

  // Get classes by CRN
  String[] get_classes_by_crn_as_str(int[] crns);

  // get classes objects by crn
  myClass[] get_all_by_crn(int[] crns);
}